import request from "@/utils/request";

// 分页查询监测区域列表
export function findShopMonitor(query) {
  return request({
    url: "/shopMonitor/findShopMonitor",
    method: "get",
    params: query,
  });
}

// 新增监测区域
export function insertShopMonitor(data) {
  return request({
    url: "/shopMonitor/insertShopMonitor",
    method: "post",
    data: data,
  });
}

// 移除监测区域
export function deleteShopMonitor(data) {
    return request({
      url: '/shopMonitor/deleteShopMonitor',
      method: 'post',
      data: data
    })
  }
